package com.gec.service;

import com.gec.domain.Employee;
import com.gec.utils.PageModel;

import java.util.List;

public interface EmployeeService {
    /**
     * 添加员工
     * */
    void addEmployee(Employee employee);

    /**
     * 删除员工
     * */
    void deleteEmployee(int id);

    /**
     * 修改员工
     */
    void updateEmployee(Employee employee);

    /**
     * 查询所有员工
     * */
    List<Employee> findAllemployees(Employee employee, PageModel model);

    /**
     * 总的员工数目
     * */
    int getTotalEmployeeCount(Employee employee);

    /**
     * 查询个人信息
     * */
    Employee findById(int id);
}
